﻿using System;
using System.Collections.Generic;
using System.Text;
using SqlSugar;

namespace YL.Core.Entity
{
    [SugarTable("Meter_DeviceAlarmHistory")]
    public class DeviceAlarmHistory
    {
        [SugarColumn(IsNullable = false, IsPrimaryKey = true, IsIdentity = true)]
        public int HistoryId { set; get; }
        /// <summary>
        /// 设备id
        /// </summary>
        public int DeviceId { set; get; }
        /// <summary>
        /// 报警设备（用户名称+回路名称）
        /// </summary>
        public string AlarmEquip { set; get; }
        /// <summary>
        /// 报警明细
        /// </summary>
        public string AlarmDetail { set; get; }
        /// <summary>
        /// 报警类型
        /// </summary>
        public string AlarmType { set; get; }
        /// <summary>
        /// 发生时间
        /// </summary>
        public DateTime StartTime { set; get; }
        /// <summary>
        /// 确认时间
        /// </summary>
        public DateTime ConfirmTime { set; get; }
        /// <summary>
        /// 确认人员
        /// </summary>
        public string ConfirmPerson { set; get; }
        /// <summary>
        /// 确认意见
        /// </summary>
        public string ConfirmInfo { set; get; }
        /// <summary>
        /// 恢复时间
        /// </summary>
        public DateTime EndTime { set; get; }
    }
}
